package com.huike.clues.mapper;


import com.huike.clues.domain.TbClueTrackRecord;
import com.huike.clues.domain.vo.ClueTrackRecordVo;
import com.huike.clues.domain.vo.FalseClueVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 线索跟进记录Mapper接口
 *
 * @date 2021-04-19
 */
public interface TbClueTrackRecordMapper {

    /**
     * 新增跟进记录
     *
     * @param vo
     * @return
     */

    void add(@Param("vo") ClueTrackRecordVo vo,@Param("username") String username);

    /**
     * 根据线索id查询线索跟进
     * @param clueId
     * @return
     */
    List<TbClueTrackRecord> list(@RequestParam("clueId") Long clueId);

    /**
     *
     * @param record
     */
    void insert(TbClueTrackRecord record);
}
